/*
Copyright (C) 2009  Raymond Jeon
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/


#ifndef __GL_SMMP_FUNCSPAM_H__
#define __GL_SMMP_FUNCSPAM_H__




#include "gl_smmp_session.h"
#include "gl_lib_include.h"


#define SPAMTREAT_DEL	0
#define SPAMTREAT_ADD	1
#define SPAMTREAT_VIEW	2


void GlSmmpFuncSpamTreatement(glsmmpsession_ *gsn, char *szName, char *szVal, int iMode, gllink_ **ll);
void GlSmmpFuncAddSpamFrom(glsmmpsession_ *gsn, char *szVal);
void GlSmmpFuncAddSpamTo(glsmmpsession_ *gsn, char *szVal);
void GlSmmpFuncAddSpamCc(glsmmpsession_ *gsn, char *szVal);
void GlSmmpFuncAddSpamSubject(glsmmpsession_ *gsn, char *szVal);
void GlSmmpFuncDelSpamFrom(glsmmpsession_ *gsn, char *szVal);
void GlSmmpFuncDelSpamTo(glsmmpsession_ *gsn, char *szVal);
void GlSmmpFuncDelSpamCc(glsmmpsession_ *gsn, char *szVal);
void GlSmmpFuncDelSpamSubject(glsmmpsession_ *gsn, char *szVal);
void GlSmmpFuncViewSpamFrom(glsmmpsession_ *gsn, char *szVal);
void GlSmmpFuncViewSpamTo(glsmmpsession_ *gsn, char *szVal);
void GlSmmpFuncViewSpamCc(glsmmpsession_ *gsn, char *szVal);
void GlSmmpFuncViewSpamSubject(glsmmpsession_ *gsn, char *szVal);


#endif	// __GL_SMMP_FUNCSPAM_H__




